class CreateClues < ActiveRecord::Migration
  def change
    create_table :clues,:comment => '新闻线索' do |t|
      t.string :linkman,:comment => '联系人'
      t.string :phone,:comment => '联系电话'
      t.text :content,:comment => '线索内容'
      t.string :postby,:comment => '发布人'
      t.integer :check,:default => 0,:comment => '审核状态(0:未送审,1:已送审,2:已采用,3:已拒绝)'
      t.string :reason,:comment => '拒绝原因'
      t.timestamps
    end
  end
end
